// JointState.h: interface for the JointState class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_JOINTSTATE_H__955FF7B6_B479_4ADC_A993_1DF8E83FF24F__INCLUDED_)
#define AFX_JOINTSTATE_H__955FF7B6_B479_4ADC_A993_1DF8E83FF24F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GeneralJointRegular.h"

class JointState
{
public:
	JointState();
	virtual ~JointState();

public:
	virtual BOOL Execute() = 0;
	void SetJointRegular(JointRegular* pJoint){
		ASSERT(pJoint);
		m_pJoint = pJoint;
	}

protected:
	JointRegular* GetJointRegular(){
		return m_pJoint;
	}

private:
	JointRegular* m_pJoint;
};

#endif // !defined(AFX_JOINTSTATE_H__955FF7B6_B479_4ADC_A993_1DF8E83FF24F__INCLUDED_)
